`python-nav-list-defun-positions' now caches defuns positions (#75)
author=?UTF-8?q?Fabi=C3=A1n=20Ezequiel=20Gallina?= <fgallina@cuca>
Thu, 17 May 2012 03:03:43 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fabian@anue.biz>
Thu, 17 May 2012 03:03:43 +0000 (00:03 -0300)
commit88d9aa102b6eee879db6e30ca5140bb79d2b9695
tree24df9cdb1dc1fe69ce37ef807021115346784992
parentffac7e25c8c2b907395a3e793cfca1dc7e743506
`python-nav-list-defun-positions' now caches defuns positions (#75)

This is a simplified version of @dandavison pull request (thanks dan!)

`python-nav-list-defun-positions' now uses
`python-nav-list-defun-positions-cache' buffer local variable to store
cached values of defun positions.

`python-nav-jump-to-defun' now benefits from this new cache and if
called with prefix argument it will invalidate it so new defuns are
scanned.

New Vars:
 + `python-nav-list-defun-positions-cache'
lisp/progmodes/python.el